package com.ruoyi.web.pojo.vo.insect;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@ApiModel("动态表头参数")
@AllArgsConstructor
public class DataTableHeader {

    @ApiModelProperty(value = "标签（表头名称）")
    private String label;

    @ApiModelProperty(value = "绑定属性名")
    private String prop;

    @ApiModelProperty(value = "单位")
    private String unit;

    public DataTableHeader(String label,String prop) {
        this.label = label;
        this.prop = prop;
    }

}
